package nc.ui.cad.resistrate;

import nc.itf.capub.para.ICDABillType;
import nc.ui.capub.baseui.PagSingleCardController;
import nc.ui.capub.baseui.SingleCardBaseUI;
import nc.ui.trade.button.IBillButton;
import nc.vo.cad.resistrate.ResistrateAggVO;
import nc.vo.cad.resistrate.ResistrateVO;

public class ResistrateCtrl extends PagSingleCardController {

	public ResistrateCtrl() {
		super();
	}

	public ResistrateCtrl(SingleCardBaseUI billUI) {
		super(billUI);
	}

	public String getBillType() {
		return ICDABillType.CDA_DZYRATE;
	}

	public String[] getBillVoName() {
		return new String[]{
				ResistrateAggVO.class.getName(),
				ResistrateVO.class.getName(),
				ResistrateVO.class.getName()
		};
	}

	@Override
	public int[] getCardButtonAry() {
		return new int[]{
				IBillButton.Query,
//				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Delete,
				IBillButton.Cancel,
				IBillButton.Refresh
		        };
	}

	@Override
	public boolean isBodyShowNavigationBar() {
		return true;
	}

}
